/* 全局样式 */
:root {
  --primary-color: #4361ee;
  --primary-light: #4895ef;
  --primary-dark: #3a0ca3;
  --secondary-color: #4cc9f0;
  --background-color: #f8f9fa;
  --text-color: #333;
  --text-light: #6c757d;
  --border-radius: 12px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

/* 弹窗样式 */
.wrapper {
  width: 280px;
  padding: 15px;
  border-radius: var(--border-radius);
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.title {
  font-size: 20px;
  color: white;
  margin: -15px -15px 15px -15px;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.title img {
  margin-right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  padding: 2px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 5px 0;
}

ul li {
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 8px;
  margin-bottom: 5px;
  transition: var(--transition);
  cursor: pointer;
}

ul li:hover {
  background-color: var(--primary-light);
  color: white;
  transform: translateX(5px);
}

ul li img, ul li svg {
  display: inline-block;
  width: 20px;
  margin-right: 12px;
  color: var(--text-light);
  transition: var(--transition);
}

ul li:hover img, ul li:hover svg {
  color: white;
}

ul li span {
  font-size: 14px;
  font-weight: 500;
}

/* 设置页面样式 */
#options-wrapper {
  padding: 30px;
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-top: 50px;
}

.option {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.option:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

input[type="text"] {
  padding: 12px 15px;
  border: 1px solid #ddd;
  outline: none;
  border-radius: 8px;
  width: 100%;
  font-size: 14px;
  transition: var(--transition);
}

input[type="text"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.2);
}

.save-btn {
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  margin: 25px auto 0;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  max-width: 200px;
}

.save-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(67, 97, 238, 0.2);
}

.save-btn img {
  display: inline-block;
  width: 20px;
  margin-right: 10px;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .wrapper {
    width: 260px;
  }

  #options-wrapper {
    padding: 20px;
    margin-top: 20px;
  }
}